<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui" template="/pageUtils/templateRelatorio.xhtml">

	<ui:define name="body">
		<h:form prependId="false">
			<div align="left">
				<h:panelGrid columns="1" id="painel" width="100%">
					
					<h:outputText value="Responsavel :" />
					
					<p:selectOneMenu value="#{relatorioController.responsavel.id}"
						style="width:250px;">
						<f:selectItem itemLabel="Selecione o responsavel" itemValue="" />
						<f:selectItems value="#{relatorioController.responsaveis}"
							var="item" itemLabel="#{item.nome}" itemValue="#{item.id}" />
					</p:selectOneMenu>
					
				</h:panelGrid>
				<p:toolbar align="center">
					<p:toolbarGroup align="center">
						<h:commandButton value="Imprimir"
							action="#{relatorioController.imprimirGrafico()}">
						</h:commandButton>
					</p:toolbarGroup>
				</p:toolbar>

			</div>
		</h:form>
	</ui:define>
</ui:composition>